modelbutton: Sizing fixes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 7 Jun 2019 02:37:24 +0000 (02:37 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 9 Jun 2019 17:38:53 +0000 (17:38 +0000)
commit640c7939ea6902a7bda21ae962e97c9ee65589f7
tree455fc550d6fd073f736dc19719609b7f25f44a81
parent0755491b777bd9119efd90149f83847158647f2e
modelbutton: Sizing fixes

We only want to reserve indicator size if
there are any checks or radios in the popover.
Unfortunately, GtkIcon has a hardcoded min-size
of 16, defeating this use. Work around by
wrapping each indicator in a box, and showing/
hiding the actual indicator.
gtk/gtkmodelbutton.c